import types from './type'
export default{
    [types.SAVEUSERNAME](state,username){
        state.username=username;
    },
    [types.GETCARTNUM](state,cartCount){
        state.cartCount=cartCount;
    },
    [types.SAVEUSERID](state,uid ){
        state.uid=uid;
    }
}